/* 
 * File:   IndexInterface.h
 * Author: taylor
 *
 * Created on November 7, 2012, 2:32 PM
 */

#ifndef INDEXINTERFACE_H
#define	INDEXINTERFACE_H

#include <string>

template<typename Key, typename Val>
class IndexInterface {
public:
    virtual void insert(string word, int docID, int freq) = 0;
    virtual void writeToFile() = 0;
    virtual void readFromFile() = 0;
};

#endif	/* INDEXINTERFACE_H */

